from selenium.webdriver.common.by import By

class UserOssLocator:
      #oss订购的price plan选择
      standard_storage_plan = (By.XPATH, '//div[@id="creForm_resourcePlanType"]/div/div[1]')
      #resource package页面package id的搜索框（my resource也一样）
      package_id_search = (By.CSS_SELECTOR, '[placeholder="Resource Package ID"]')
      ##resource package页面搜索package id的搜索按钮
      search_btn = (By.CSS_SELECTOR, '[type="submit"]')
      #resource package页面renew按钮
      renew_btn = (By.XPATH, '(//button[@class="antd4-btn antd4-btn-link table-operation-btnLine-btn"])[1]')
      #resource package页面modify按钮
      modify_btn = (By.XPATH, '(//button[@class="antd4-btn antd4-btn-link table-operation-btnLine-btn"])[2]')
      ##my resource页面instance id输入框
      instance_id_input = (By.CSS_SELECTOR, '[placeholder="Search by instance ID"]')
      ## 左上角点击OSS进入产品控制台
      product_list_oss = (By.XPATH, '//div[@class="columnItem___snCl_"]/div[contains(text(),"Object Storage Service")]')






